home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 7710 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: rain.fr!world-net!usenet
  2. From: Frederic LACHASSE <lachass@worldnet.fr>
  3. Newsgroups: comp.lang.c++,comp.lang.c
  4. Subject: Re: Embedding Binary Data File in .EXE
  5. Date: Sun, 25 Feb 1996 15:21:35 +0000
  6. Organization: World-Net information exchange, Internet provider.
  7. Message-ID: <VA.0000004b.00029e7e@fred>
  8. References: <312b88d2.13833883@news.uwaterloo.ca>
  9. Reply-To: lachass@worldnet.fr
  10. NNTP-Posting-Host: client53.sct.fr
  11. X-Newsreader: Virtual Access by Ashmount Research Ltd, http://www.ashmount.com
  12.  
  13. In article <312b88d2.13833883@news.uwaterloo.ca>, 
  14. mrnebelu@undergrad.math.uwaterloo.ca (Mark Nebelung) wrote:
  15. > I was just wondering on the best way to embed a binary file in an
  16. > executible.
  17. > I have an FLI file that I would like to make self-executible.  I have
  18. > all the display routines, but now I just want to know how I can tag on
  19. > the FLI file to my display executible.
  20.  
  21. You can just append your data at the end of the .EXE file. That's what 
  22. self extracting archives do. That's also the place debug info are 
  23. placed. That's true for all DOS, Windows and OS/2 EXEs. If your binary 
  24. data has a natural signature, you just have to scan for it (else add 
  25. one).
  26.  
  27. I hope this'll help.
  28.  
  29.  Frederic LACHASSE (ECP 86)
  30.  CompuServe: 100530,2005
  31.  Internet: lachass@worldnet.fr
  32.  
  33.